import React from 'react'
import { useSelector } from 'react-redux/es/exports'
// import store from './store'

export default function Son() {
  const state = useSelector((state) => {
    console.log(state)
    return state
  })

  return (
    <div>
      Sun-{state.username}-{state.token}
    </div>
  )
}
